package com.aurora.demo.entity;

import lombok.Data;
import org.bson.types.Binary;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "Aurora.Thumb")
public class Thumb implements Serializable {
    private ObjectId id;
    private String name;
    private Binary thumb;
}
